<script>
export default {
  props: {
    zn: {
      type: String,
      default: ''
    },
    en: {
      type: String,
      default: ''
    },
    color: {
      type: String,
      default: '#fff'
    }
  }
}
</script>

<template>
  <div class="card">
    <div class="content">
      <header>
        <div class="title" :style="{ color }">
          <div class="en">{{ en }}</div>
          <div class="zn">{{ zn }}</div>
        </div>
      </header>
      <article>
        <slot></slot>
      </article>
    </div>
  </div>
</template>

<style lang="less" scoped>
.card {
  width: 100%;
  box-sizing: border-box;
  padding: 100px;
  overflow: hidden;
  .content {
    overflow: hidden;
    header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      .title {
        line-height: 1.4;
        .en {
          font-size: 60px;
        }
        .zn {
          font-size: 120px;
        }
      }
    }
    article {
      margin-top: 60px;
    }
  }
}
</style>
